package edu.pku.sei.transformation.qvt.engine.modelmorf;

import edu.pku.sei.gefcommon.descriptor.annotation.MethodProperty;
import edu.pku.sei.transformation.engine.EngineExtraData;

public class ModelMorfExtraData extends EngineExtraData {
	private static final String QVT_FILE_NAME = "name";

	public ModelMorfExtraData(EngineExtraData d) {
		this.values = d.values;
	}

	@MethodProperty(catalog = "ModelMorf", name = "qvtfileName", id = "qvt", setter = "setQvtFileName")
	public String getQvtFileName() {
		String s = values.get(QVT_FILE_NAME);
		if (s == null)
			return "";
		else
			return s;
	}

	public void setQvtFileName(String qvtFileName) {
		values.put(QVT_FILE_NAME, qvtFileName);
	}
}
